import {get, post} from "../utils/request.js";

export const reportApi = {
    // 首页最新/最热报告列表
    getSumData: () => {
        return get('v1/report-listNew-listHot/index.html');
    },
    // 报告展示 行业分类
    getIndustry: () => {
        return get('/v1/param-industry/index.html');
    },
    // 报告展示 查询
    search: (params) => {
        return get('/v1/report-listPage/index.html', params);
    },
    // 报告展示 详情
    getReportDetail: (params) => {
        return get('/v1/report-detail/index.html', params);
    },
    // 报告详情-相关报告
    getRelatedReports: (params) => {
        return get('/v1/report-listRelate/index.html', params);
    },
    // 报告收藏
    reportcollect:(params) => {
        return get('/v1/report-userCollect/index.html', params);
    },
    // 报告分享
    reportShare:(params) => {
        return get('/v1/report-userShare/index.html', params);
    },
    // 报告下载
    reportDownload:(params) => {
        return get('/v1/report-userDown/index.html', params);
    },
    // 报告-截图记笔记
    reportNote:(data) => {
        return post('/v1/report-userNote/index.html', data);
    },
    // 报告-购买
    reportBuy:(params) => {
        return get('/v1/order-userOrder/index.html', params);
    },
    // 查询订单状态
    getOrderStatus:(params) => {
        return get('/v1/order-checkOrder/index.html', params);
    },
    // 余额
    getMyWallet:(params) => {
        return get('/a_acc/a_list-checkAcc/index.html', params);
    },
    // 充值
    recharge:(params) => {
        return get('/a_acc/a_recharge-recharge/index.html', params);
    },
    // 定制报告提交
    reportCustom:(params) => {
        return get('/v1/report-customized/index.html', params);
    }
}